.downloads-page {
  padding: 100px 0 80px;
  background: #F3F3F3;
  min-height: calc(100vh - 70px);
}

.page-header {
  text-align: center;
  margin-bottom: 50px;
}

.page-header h1 {
  font-size: 2.5rem;
  color: #1f2937;
  margin-bottom: 15px;
}

.page-header p {
  font-size: 1.1rem;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
}

.downloads-page .category-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.downloads-page .filter-btn {
  padding: 10px 20px;
  border: 2px solid #e5e7eb;
  background: white;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: #0071C1;
  background: #0071C1;
  color: white;
}

.downloads-page .downloads-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.downloads-page .download-item {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  padding: 25px;
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  gap: 20px;
}

.download-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.downloads-page .download-icon {
  font-size: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  color: white;
}

.downloads-page .download-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.downloads-page .download-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
}

.downloads-page .download-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
  line-height: 1.4;
  flex: 1;
}

.downloads-page .download-meta {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.downloads-page .download-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.downloads-page .download-type {
  background: #e0f2fe;
  color: #0369a1;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
}

.downloads-page .download-details {
  display: flex;
  gap: 15px;
  align-items: center;
}

.downloads-page .download-size {
  color: #6b7280;
  font-size: 0.9rem;
  font-weight: 500;
}

.downloads-page .download-time {
  color: #9ca3af;
  font-size: 0.85rem;
}

.downloads-page .download-btn {
  background: #0071C1;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.3s ease;
}

.download-btn:hover {
  background: #1d4ed8;
}

.loading-container,
.downloads-page .error-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
}

.loading-container p,
.error-container p {
  margin-top: 20px;
  font-size: 1.1rem;
  color: #6b7280;
}

.error-container p {
  color: #ef4444;
}

.downloads-page .no-downloads {
  text-align: center;
  padding: 60px 20px;
  color: #6b7280;
  font-size: 1.1rem;
}

.downloads-page .pagination-container {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  padding: 20px 0;
}

@media (max-width: 768px) {
  .downloads-page {
    padding: 80px 0 60px;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .page-header p {
    font-size: 1rem;
  }

  .downloads-page .downloads-list {
    gap: 15px;
  }

  .downloads-page .download-item {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .downloads-page .download-header {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .downloads-page .download-footer {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .downloads-page .download-details {
    flex-direction: column;
    gap: 5px;
  }
}
